/*
 * @Author: shengduiliang 1107722390@qq.com
 * @Date: 2024-04-27 23:01:34
 * @LastEditors: shengduiliang 1107722390@qq.com
 * @LastEditTime: 2024-05-04 14:38:19
 * @FilePath: /treasure/src/app.tsx
 * @Description: APP入口
 */
import { PropsWithChildren } from 'react'
import { Provider } from "react-redux";
import { store } from './store';
import './app.scss'

function App({ children }: PropsWithChildren<any>) {
  // children 是将要会渲染的页面
  return <Provider store={store}>
    { children }
  </Provider>
}

export default App
